﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace RentACarRESTApi.Models
{
    public class AvailabilityResponse
    {
        public Car CarAvail { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }
        public List<Link> Links { get; set; }

        public AvailabilityResponse()
        { 
        }

        public AvailabilityResponse(Car car, DateTime startDate, DateTime endDate)
        {
            this.CarAvail = car;
            this.StartDate = startDate;
            this.EndDate = endDate;
            this.Links = new List<Link>();
        }
    }
}